package com.github.ecbp.user.service.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.github.ecbp.common.data.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 后台资源表
 * </p>
 *
 * @author zj2626
 * @since 2020-03-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_resource")
public class TResource extends BaseEntity {

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 权限ID
     */
    private Long permissionId;

    private Boolean permissionStatus;

    /**
     * 资源名称
     */
    private String name;

    /**
     * 资源URL
     */
    private String url;

    /**
     * 描述
     */
    private String description;

    /**
     * 启用状态；0->禁用；1->启用
     */
    private Integer status;
}
